package com.chuhe.lottery.domain.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author 张楚河
 * @since 2025-06-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("prize_pools")
public class PrizePools implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 奖品等级
     */
    @TableField("describes")
    private String describes;

    /**
     * 数量
     */
    @TableField("counts")
    private Integer counts;

    /**
     * 版本号
     * @Author: 楚河
     * @Date: 2025-06-03 19:31
     */
    @Version
    @TableField("version")
    private Integer version;

}
